package org.jeecg.common.constant;

/**
 * @author: huangxutao
 * @date: 2019-06-14
 * @description: 缓存常量
 */
public interface CacheConstant {

    /**
     * 字典信息缓存
     */
    public static final String DICT_CACHE = "dictCache";

    /**
     * 权限信息缓存
     */
    public static final String PERMISSION_CACHE = "permission";

    /**
     * 登录用户规则缓存
     */
    public static final String LOGIN_USER_RULES_CACHE = "loginUser_cacheRules";

    /**
     * 作用域权限缓存
     */
    public static final String SCOPE_DEPART_RULES_CACHE = "scopeDepart_cacheRules";

    static final  String LOGIN_USER = "loginUser";

    //根据用户名 找到对应的token
    static final String LOGIN_TOKEN = "loginToken:";

    static final String PAY_METHOD = "payMethod";

    static final String EVENT_TRIGGER = "eventTrigger:";

    /**设备事件分类*/
    public static final String EQUIP_EVENT_SORT = "equipEventSort:";

    /**把表结构存储到redis中的前缀*/
    public static final String REDIS_TABLES = "REDIS_TABLES:";


}
